package com.sample.client;

import com.sample.dto.CustomBody;
import feign.Param;
import feign.RequestLine;

import java.math.BigDecimal;

/**
 * Created by leo.na on 21/03/2017.
 */
public interface KresnaApiClient {

    @RequestLine(value = "GET /exchangeRate?from={from}&to={to}")
    CustomBody<BigDecimal> getExchangeRate(@Param(value = "from") String from, @Param(value = "to") String to);

}
